package com.taotao.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
/**
 * 后台页面操作
 * @author 好好学习天天向上
 *
 */
@Controller
public class PageController {
	@RequestMapping("/")
	//首页跳转
	public String showIndex() {
		return "index";
	}
	
	@RequestMapping("/{page}")
	public void showPage(@PathVariable String page) {
		//return page;
	}
}
